<html>
<body>

<iframe src="about:blank">

</iframe>

<script>
    let iframe = document.querySelector("iframe");
    console.log("Frame location: " + iframe.contentDocument.location.href);
</script>

</body>
</html>
